{% extends 'home/public/base.html' %}


{% block css %}
    <link rel="stylesheet" type="text/css" href="/static/home/css/order.css">
    <link rel="stylesheet" type="text/css" href="/static/home/css/order-app.css">

{% endblock %}

{% block con %}
<div class="mainbody order">
    <div class="container">
        <!-- 面包屑导航 -->
        <div class="crumbs col-xs-12 col-sm-12">
            <ol class="breadcrumb">
                <li class="hidden-xs hidden-sm"><a href="index.html">首页</a></li>
                <li class="hidden-xs hidden-sm"><a href="member.html">我的商城</a></li>
                <li class="active">收货地址</li>
            </ol>
        </div><!-- 面包屑导航 E-->
        
        <div class="main clearfix">
            <!-- 左侧导航 -->
            <div class="left-nav f-fl col-md-4 hidden-xs hidden-sm">
                <div class="nav-main">
                    <a href="javascript:void(0);" class="type-title"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>订单中心</a>
                    <a href="{% url 'myhome_myorders' %}" class="ml ">我的订单</a>
                    <a href="#" class="ml ">我的回购单</a>
                    <a href="#" class="ml ">我的意外保</a>
                    <a href="javascript:void(0);" class="type-title"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>个人中心</a>
                    <a href="{% url 'myhome_myinfo' %}" class="ml ">个人信息</a>
                    <a href="#" class="ml active">收货地址</a>
                    <a href="#" class="ml ">修改密码</a>
                </div>
            </div><!-- 左侧导航 E-->
            <!-- 右侧内容展示 -->

            {% for v in ob %}
            <div style="margin: 20px">
                姓名: <span> {{ v.name }} </span> <br>
                电话: <span> {{ v.phone }} </span><br>
                地址: <span> {{ v.address }} </span><br>
            </div>
            {% endfor %}
           <!--  <form role="form" action="{% url 'myhome_addressinsert' %}" method="post">
                        {% csrf_token %}
                        <input type="hidden" name="ids" value="{{ request.GET.ids }}">
                        <div class="modal-body">
                          <div class="row">
                            <div class="col-md-10 col-md-offset-1">
                                <div class="form-group">
                                  <label for="exampleInputEmail1">收货人</label>
                                  <input type="text" class="form-control" name="name">
                                </div>
                                <div class="form-group">
                                  <label for="exampleInputEmail1">收货电话</label>
                                  <input type="text" class="form-control" name="phone">
                                </div>
                                <div class="form-group">
                                  <label for="exampleInputEmail1">收货地址</label>
                                  <input type="text" class="form-control" name="address">
                                </div>
                            </div>
                          </div>
                        </div>
                        <div class="modal-footer">
                          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                          <button  class="btn btn-primary">添加</button>
                        </div>
            </form> -->
        </div>
    </div>  
</div>
{% endblock %}